package com.bdqn.design.dao.impl;

import com.bdqn.design.dao.NewsDao;
import com.bdqn.design.pojo.News;

/**
 * NewsDaoMySQLImpl
 *
 * @author LILIBO
 * @since 2024/7/4
 */
public class NewsDaoMySQLImpl implements NewsDao {

    /**
     * 保存新闻
     *
     * @param news
     * @return
     */
    @Override
    public int save(News news) {
        System.out.println("【NewsDaoMySQLImpl】新闻保存成功！");
        return 1;
    }

}
